<table border="1" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse; table-layout:fixed;word-wrap:break-word;" width="100%" class="table_common">
    <tr>
        <th rowspan="2">区域</th>
        <th rowspan="2">大区</th>
        <th rowspan="2">小区</th>
        <th rowspan="2">省份</th>
        <th rowspan="2">城市</th>
        <th rowspan="2">专营店</th>
        <th rowspan="2">专营店编码</th>
        <th rowspan="2">所属双月</th>
        <th rowspan="2">项目编号</th>
        <th rowspan="2">车展名称</th>
        <th rowspan="2">车展级别</th>
        <th rowspan="2">活动时间段</th>
        <th rowspan="2">展馆地址</th>
        <th colspan="3">预算申请费用</th>
        <th colspan="4">预算审核费用</th>
        <th colspan="3">结算申请费用</th>
        <th colspan="4">结算审核费用</th>
    </tr>
    <tr>
        <th>车展广宣活动预算申报费用</th>
        <th>车展场租预算申报费用</th>
        <th>车展配套预算申报费用</th>
        <th>车展广宣活动预算审核费用</th>
        <th>车展场租预算审核费用</th>
        <th>车展配套预算审核费用</th>
        <th>预算审核情况</th>
        <th>车展广宣活动结算申报费用</th>
        <th>车展场租结算申报费用</th>
        <th>车展配套结算申报费用</th>
        <th>车展广宣活动结算审核费用</th>
        <th>车展场租结算审核费用</th>
        <th>车展配套结算审核费用</th>
        <th>结算审核情况</th>
    </tr>
    <?php
    foreach($projectList as $k => $v){
        $procData = isset($procList[$v['procId']]) ? $procList[$v['procId']] : array();
        $storeData = isset($allStoreList[$procData['storeId']]) ? $allStoreList[$procData['storeId']] : array();
        $detailMoney = isset($projectMoneyDetail[$v['id']]) ? $projectMoneyDetail[$v['id']] : array();
    ?>
    <tr>
        <td><?=$storeData['area'];?></td>
        <td><?=$storeData['region'];?></td>
        <td><?=$storeData['spsarea'];?></td>
        <td><?=$storeData['province'];?></td>
        <td><?=$storeData['city'];?></td>
        <td><?=$storeData['storeName'];?></td>
        <td><?=$storeData['coding'];?></td>
        <td><?=$procData['timeUnitStr'];?></td>
        <td><?=$v['id'];?></td>
        <td><?=$v['name'];?></td>
        <td><?=$v['levelStr'];?></td>
        <td><?=$v['startTime'].'到'.$v['endTime']?></td>
        <td><?=$v['address'];?></td>
        <td><?=$detailMoney['gx']['budgetApply'];?></td>
        <td><?=$detailMoney['rent']['budgetApply'];?></td>
        <td><?=$detailMoney['matching']['budgetApply'];?></td>
        <td><?=$detailMoney['gx']['budgetAudit'];?></td>
        <td><?=$detailMoney['rent']['budgetAudit'];?></td>
        <td><?=$detailMoney['matching']['budgetAudit'];?></td>
        <td><?=$v['budgetAuditStr'];?></td>
        <td><?=$detailMoney['gx']['settleApply'];?></td>
        <td><?=$detailMoney['rent']['settleApply'];?></td>
        <td><?=$detailMoney['matching']['settleApply'];?></td>
        <td><?=$detailMoney['gx']['settleAudit'];?></td>
        <td><?=$detailMoney['rent']['settleAudit'];?></td>
        <td><?=$detailMoney['matching']['settleAudit'];?></td>
        <td><?=$v['settleAuditStr'];?></td>
    </tr>
    <?php }?>
</table>